import request from '@/utils/request'

// 薪酬调整申请分页
export function getList(params) {
  return request({
    url: '/management/personnel/payment/salaryRequest/selectPage',
    method: 'POST',
    params
  })
}

// 调薪申请添加
export function insertSalaryRequest(data) {
  return request({
    url: '/management/personnel/payment/salaryRequest/insert',
    method: 'POST',
    data
  })
}

// 调薪申请修改
export function updateSalaryRequest(data) {
  return request({
    url: '/management/personnel/payment/salaryRequest/update',
    method: 'POST',
    data
  })
}

// 调薪申请删除
export function delSalaryRequest(data) {
  return request({
    url: '/management/personnel/payment/salaryRequest/del',
    method: 'post',
    data
  })
}

// 调薪申请修改查询
export function selectSalaryRequest(params) {
  return request({
    url: '/management/personnel/payment/salaryRequest/findId',
    method: 'POST',
    params
  })
}

// 模糊查询团队下拉信息
export function selectTeam(params) {
  return request({
    url: '/administrative/teams/getTeamIdAndNameListByName',
    method: 'post',
    params
  })
}
